<template>
  <j-modal
    :title="title"
    :width="1200"
    :visible="visible"
    :maskClosable="false"
    switchFullscreen
    @ok="handleOk"
    :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
    :footer="null"
    @cancel="handleCancel"
  >
    <hf-pm-destination-files-List ref="hfPmDestinationFilesList" :multiple="this.multiple" :mainId="this.mainId"/>
  </j-modal>
</template>

<script>

import HfPmDestinationFilesList from '@views/hifar/pm/HfPmDestinationFilesList'

export default {
  name: 'HfPmDestinationFilesModal',
  components: {
    HfPmDestinationFilesList
  },
  props: {
    multiple: {
      type: Boolean,
      default: false
    },
    mainId: {
      type: String,
      default: '',
      required: false
    }
  },
  data() {
    return {
      title: '',
      width: 800,
      visible: false,
      disableSubmit: false
    }
  },
  methods: {
    close() {
      this.$emit('close');
      this.visible = false;
    },
    handleCancel() {
      this.close()
    },
    handleOk() {
    },
  }
}
</script>

<style scoped>

</style>